package top.wettis.chat.pojo.DO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 每日打卡
 * </p>
 *
 * @author wettis
 * @since 2023-03-25
 */
@Getter
@Setter
@TableName("today_punch")
public class TodayPunch implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "punch_id", type = IdType.AUTO)
    private Integer punchId;

    @TableField("login_time")
    private String loginTime;



    @TableField("user_id")
    private Integer userId;

    @TableField("month")
    private Integer month;
    public void deleteLastMonth(int month, Integer id) {

    }
}
